package FangFa;

public class JieCheng {
    public static void main(String[] args) {
        System.out.println(F(5));
    }
    public static int F(int n){
        if(n==1){
            return 1;
        }else{
            return n*F(n-1);
        }
    }
}
